embed.file.name (field)
12 uses
embed (current package)
embed.go#L221: name string
embed.go#L231: func (f *file) Name() string { _, elem, _ := split(f.name); return elem }
embed.go#L234: func (f *file) IsDir() bool { _, _, isDir := split(f.name); return isDir }
embed.go#L252: var dotFile = &file{name: "./"}
embed.go#L274: idir, ielem, _ := split(files[i].name)
embed.go#L277: if i < len(files) && trimSlash(files[i].name) == name {
embed.go#L292: idir, _, _ := split(files[i].name)
embed.go#L296: jdir, _, _ := split(files[j].name)
embed.go#L365: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L382: return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L390: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L410: return 0, &fs.PathError{Op: "read", Path: d.f.name, Err: errors.New("is a directory")}
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |